PWD = $(shell pwd)

all:
	for i in $(SUBDIRS); do cd $$i; make -f Makefile || exit; cd $(PWD); done;
	@echo done

clean:
	for i in $(SUBDIRS); do cd $$i; make -f Makefile clean || exit; cd $(PWD); done
	@echo cleaned 

install: all
	for i in $(SUBDIRS); do cd $$i; make -f Makefile install || exit; cd $(PWD); done
	@echo installed 

uninstall:
	for i in $(SUBDIRS); do cd $$i; make -f Makefile uninstall || exit; cd $(PWD); done
	@echo uninstalled 

.PHONY:
	all install uninstall clean

